<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>创建一个 EPUB</title>
  <link href="../Styles/styles.css" rel="stylesheet" type="text/css"/>
</head>

<body>
  <h2>使用 Sigil 打开文件</h2>

  <p>Once you have an HTML or EPUB file, it’s time to load it into Sigil. Even if you have an EPUB file already you should follow these steps for a quick introduction to using Sigil.</p>
  <p>有了 HTML 或 EPUB 文件后，就该将其加载到 Sigil 中了。即使您已经有 EPUB 文件，也应该按照以下步骤快速入门使用 Sigil。</p>

  <div class="tip">
    <p class="tiptext">If you are starting with an EPUB file, make a backup copy of the file before opening it in Sigil.</p>
    <p class="tiptext">如果您以 EPUB 文件开头，请在 Sigil 中打开文件之前先对其进行备份。</p>
  </div>

  <h3 class="sigil_not_in_toc">启动 Sigil</h3>

  <p>When you first start Sigil you will be shown a screen with several windows:</p>
  <p>首次启动 Sigil 时，将显示一个带有多个窗口的屏幕：</p>

  <div class="image">
    <img alt="tutorial-default-sigil" src="../Images/tutorial-default-sigil.png"/>
  </div>

  <p>The Book Browser window on the left shows you all of the files in your EPUB, the Code View editing Window is in the center.</p>
  <p>左侧的“书籍浏览器”窗口向您显示 EPUB 中的所有文件，“代码视图”编辑窗口位于中间。</p>

  <p>This is how Sigil might look if an EPUB was loaded:</p>
  <p>如果加载了 EPUB，这就是 Sigil 的样子：</p>

  <div class="image">
    <img alt="tutorial_main_window" src="../Images/tutorial_main_window.png"/>
  </div>

  <p>You can open individual files in your book for editing by <b>double-clicking</b> on their names in the Book Browser.</p>
  <p>您可以通过 <b>双击</b> 在“书本浏览器”中打开书本中的单个文件进行编辑。</p>

  <div class="tip">
    <p class="tiptext">See the <a href="../Text/user_interface.html">User Interface</a> chapter for more details.</p>
    <p class="tiptext">有关更多详细信息，请参见 <a href="../Text/user_interface.html">用户界面</a> 一章。</p>
  </div>

  <h3 class="sigil_not_in_toc">加载文件</h3>

  <p>To load your HTML or EPUB file into Sigil, click the Open button <img alt="document-open_22px" src="../Images/document-open_22px.png"/> or use the menu item <span class="menuitem">File→Open</span>:</p>
  <p>要将HTML或EPUB文件加载到 Sigil 中，请单击“打开”按钮 <img alt="document-open_22px" src="../Images/document-open_22px.png"/> 或使用菜单项 <span class="menuitem">文件→打开</span>：</p>

  <div class="image">
    <img alt="tutorial-file-open" src="../Images/tutorial-file-open.png"/>
  </div>

  <p>Select the file you want to open from your file manager, e.g. <span class="example">TestBook.html</span>.</p>
  <p>从文件管理器中选择要打开的文件，例如 <span class="example">TestBook.html</span>。</p>

  <p>You will now see your HTML file(s) in the Book Browser window under the Text folder on the left. The file will be opened in the Code View editor in the middle, with its filename showing on the tab header:</p>
  <p>现在，您将在“书籍浏览器”窗口左侧的“文本”文件夹下看到您的 HTML 文件。该文件将在中间的“代码视图”编辑器中打开，其文件名显示在选项卡标题上：</p>

  <div class="image">
    <img alt="tutorial-load-html" src="../Images/tutorial-load-html.png"/>
  </div>

  <p>Your HTML file is now part of an EPUB. From now on you are editing your EPUB and not just an HTML file. You may have noticed that when you opened your file in Sigil it created a couple of other files needed by the EPUB format, which you can see alongside your original document in the Book Browser.</p>
  <p>您的 HTML 文件现在是 EPUB 的一部分。从现在开始，您正在编辑 EPUB，而不仅仅是 HTML 文件。您可能已经注意到，当您在 Sigil 中打开文件时，它还创建了 EPUB 格式所需的其他两个文件，您可以在“书籍浏览器”中与原始文件一起查看。</p>

  <div class="tip">
    <p class="tiptext">If your file includes any images or stylesheets, etc., Sigil will attempt to load them as well and store them in the appropriate folder in the Book Browser.</p>
    <p class="tiptext">如果您的文件包含任何图像或样式表等，Sigil 也会尝试加载它们并将它们存储在“书籍浏览器”中的相应文件夹中。</p>

    <p class="tiptext">When converting your file to EPUB or loading an EPUB Sigil may add some necessary details and organise your files into standard folder names.</p>
    <p class="tiptext">将文件转换为 EPUB 或加载 EPUB 时，Sigil 可能会添加一些必要的详细信息并将文件整理为标准文件夹名称。</p>
  </div>
</body>
</html>